package com.scheduler.backend.po;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.annotation.Generated;
import javax.persistence.*;
import java.util.Date;

@Data
@Builder

@NoArgsConstructor
@AllArgsConstructor
@Entity
@Table(name = "t_order")
public class Order {

    @Id
    @Column(name = "order_id")
    public Integer orderId;

    @Column(name = "item_id")
    public String itemId;

    @Column(name = "order_num")
    public Integer orderNum;

    @Column(name = "deadline")
    public Date deadline;

    @Column(name = "deleted")
    public Integer deleted = 0;


}
